<!doctype html>
<html>
  <head>
	<link href="css/moderation.css" rel="stylesheet" type="text/css">
  </head>
  <body>
    <form action="/moderate" method="post">
      <input name="referer" type="hidden" value="{{.Referer}}">
         <ul>
	   <h1>{{.Count}} new submissions</h1>
           {{range .Activities}}
           {{with album . }}
           <li class="album">
             <input name="key" type="hidden" value="{{.Album.Url}}">
             <input name="{{.Album.Url}}" id="{{.Album.Url}}" type="checkbox" value="ko">
             <label for="{{.Album.Url}}">&#x2612;</label>
             <ul>
               {{range .Photos}}
               <li><a href="{{.Url}}"><img src="{{.Image.Url}}"></a></li>
               {{end}}
             </ul>
           </li>
           {{end}}
           {{end}}
         </ul>
      <button type="submit">moderate</button>
    </form>
  </body>
</html>
